home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / patches / ami301c.zip / QKDEPREC.SM$ / QKDEPREC.SMM
INI File  |  1993-05-14  |  26KB  |  1,883 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     QMS-PS 810
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Quickly calculate and build a depreciation schedule.
  19.     
  20.     
  21.     
  22.     
  23.     737431805
  24.     17
  25.     732570070
  26.     496
  27.     8
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         240
  61.         0
  62.         49152
  63.     [algn]
  64.         1
  65.         1
  66.         0
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         0
  99.         0
  100.         0
  101.     [nfmt]
  102.         280
  103.         1
  104.         2
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Bullet
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         49152
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         288
  180.         288
  181.     [spc]
  182.         33
  183.         273
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         4
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         0
  205.         <*0>
  206.         360
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         2
  217.         .
  218.         ,
  219.         $
  220.     Bullet
  221.     0
  222.     0
  223. [tag]
  224.     Bullet 1
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         240
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         288
  235.         288
  236.         288
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         0
  261.         <*5>
  262.         0
  263.         1
  264.         1
  265.         0
  266.         0
  267.         0
  268.         0
  269.     [nfmt]
  270.         280
  271.         1
  272.         2
  273.         .
  274.         ,
  275.         $
  276.     Bullet 1
  277.     0
  278.     0
  279. [tag]
  280.     Number List
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         240
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         360
  291.         360
  292.         360
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         0
  317.         <*:>.
  318.         360
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         2
  329.         .
  330.         ,
  331.         $
  332.     Number List
  333.     0
  334.     0
  335. [tag]
  336.     Subhead
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         240
  341.         0
  342.         49155
  343.     [algn]
  344.         1
  345.         1
  346.         0
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         72
  354.         72
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         2
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         0
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         2
  385.         .
  386.         ,
  387.         $
  388.     Subhead
  389.     0
  390.     0
  391. [tag]
  392.     Title
  393.     8
  394.     [fnt]
  395.         Arial
  396.         360
  397.         0
  398.         16385
  399.     [algn]
  400.         4
  401.         1
  402.         0
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         446
  408.         1
  409.         144
  410.         72
  411.         1
  412.         100
  413.     [brk]
  414.         16
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         1
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         0
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         2
  441.         .
  442.         ,
  443.         $
  444.     Title
  445.     0
  446.     0
  447. [tag]
  448.     Header
  449.     9
  450.     [fnt]
  451.         Times New Roman
  452.         240
  453.         0
  454.         49152
  455.     [algn]
  456.         1
  457.         1
  458.         0
  459.         0
  460.         0
  461.     [spc]
  462.         33
  463.         273
  464.         1
  465.         0
  466.         0
  467.         1
  468.         100
  469.     [brk]
  470.         4
  471.     [line]
  472.         8
  473.         0
  474.         1
  475.         0
  476.         1
  477.         1
  478.         1
  479.         10
  480.         10
  481.         1
  482.     [spec]
  483.         0
  484.         0
  485.         
  486.         0
  487.         1
  488.         1
  489.         0
  490.         0
  491.         0
  492.         0
  493.     [nfmt]
  494.         280
  495.         1
  496.         2
  497.         .
  498.         ,
  499.         $
  500.     Header
  501.     0
  502.     0
  503. [tag]
  504.     Footer
  505.     11
  506.     [fnt]
  507.         Times New Roman
  508.         240
  509.         0
  510.         49152
  511.     [algn]
  512.         1
  513.         1
  514.         0
  515.         0
  516.         0
  517.     [spc]
  518.         33
  519.         273
  520.         1
  521.         0
  522.         0
  523.         1
  524.         100
  525.     [brk]
  526.         4
  527.     [line]
  528.         8
  529.         0
  530.         1
  531.         0
  532.         1
  533.         1
  534.         1
  535.         10
  536.         10
  537.         1
  538.     [spec]
  539.         0
  540.         0
  541.         
  542.         0
  543.         1
  544.         1
  545.         0
  546.         0
  547.         0
  548.         0
  549.     [nfmt]
  550.         280
  551.         1
  552.         2
  553.         .
  554.         ,
  555.         $
  556.     Footer
  557.     0
  558.     0
  559. [lay]
  560.     Standard
  561.     513
  562.     [rght]
  563.         15840
  564.         12240
  565.         1
  566.         720
  567.         1440
  568.         1
  569.         1440
  570.         720
  571.         0
  572.         1
  573.         0
  574.         1
  575.         0
  576.         2
  577.         1
  578.         720
  579.         11520
  580.         14
  581.         1
  582.         720
  583.         1
  584.         1440
  585.         1
  586.         2160
  587.         1
  588.         2880
  589.         1
  590.         3600
  591.         1
  592.         4320
  593.         1
  594.         5040
  595.         1
  596.         5760
  597.         1
  598.         6480
  599.         1
  600.         7200
  601.         1
  602.         7920
  603.         1
  604.         8640
  605.         1
  606.         9360
  607.         1
  608.         10095
  609.     [hrght]
  610.     [lyfrm]
  611.         1
  612.         11200
  613.         0
  614.         0
  615.         12240
  616.         1440
  617.         0
  618.         1
  619.         3
  620.         1 0 0 0 0 0 0
  621.         0
  622.         0
  623.         1
  624.     [frmlay]
  625.         1440
  626.         12240
  627.         1
  628.         1440
  629.         72
  630.         1
  631.         792
  632.         1440
  633.         0
  634.         1
  635.         0
  636.         1
  637.         1
  638.         0
  639.         1
  640.         1440
  641.         10800
  642.         2
  643.         2
  644.         4680
  645.         3
  646.         9360
  647.     [txt]
  648. Peyton McManus
  649.  
  650. Lotus WPD
  651.  
  652. >
  653.     [frght]
  654.     [lyfrm]
  655.         1
  656.         13248
  657.         0
  658.         14400
  659.         12240
  660.         15840
  661.         0
  662.         1
  663.         3
  664.         1 0 0 0 0 0 0
  665.         0
  666.         0
  667.         2
  668.     [frmlay]
  669.         15840
  670.         12240
  671.         1
  672.         1440
  673.         792
  674.         1
  675.         14472
  676.         1440
  677.         0
  678.         1
  679.         0
  680.         1
  681.         1
  682.         0
  683.         1
  684.         1440
  685.         10800
  686.         2
  687.         2
  688.         4680
  689.         3
  690.         9360
  691.     [txt]
  692. >
  693. [elay]
  694. [l1]
  695.     0
  696. [edoc]
  697. <:#284,10800><:f,,>
  698.  
  699. <:#284,10800><:f,,>
  700.  
  701. <:#568,10800>Define        CECREATEINSTANCE(LPHANDLE)    DllCall("LTSCE01.DLL,CECREATEINSTANCE,HO",%1)
  702.  
  703. <:#568,10800>Define        CEDESTROYINSTANCE(HANDLE)    DllCall("LTSCE01.DLL,CEDESTROYINSTANCE,HH",%1)
  704.  
  705. <:#284,10800>Define        CECALC(HINSTANE)        DllCall("CECORE,CECALC,HH",%1)
  706.  
  707. <:#568,10800>Define        CECALCNOW(HINSTANCE, lpFormula, lpOutPut)    DllCall("LTSCE01.DLL,CECALCNOW,HHCC",%1,%2,%3)
  708.  
  709. <:#284,10800><:f,,>
  710.  
  711. <:#284,10800>define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  712.  
  713. <:#284,10800><:f,,>
  714.  
  715. @Outline2@<:#284,10800>' Win API defines
  716.  
  717. @Outline2@<:#284,10800>Define    MyGetDlgItemText(hdg, id, string, max)    DllCall("User,GetDlgItemText,HHHCH",%1,%2,%3,%4)
  718.  
  719. <:#284,10800>define    CloseDlg(id)    dllcall("user,PostMessage,HHHHHH", HDLG, 0X111, %1, 0, 0).
  720.  
  721. <:#284,10800>Define    EnableWindow()    DllCall("User,EnableWindow,AHA",%1,%2)
  722.  
  723. @Outline2@<:#284,10800>
  724.  
  725. @Outline2@<:#284,10800>' Dialog box defines
  726.  
  727. @Outline2@<:#284,10800>Define    Methodcombo    9500
  728.  
  729. @Outline2@<:#284,10800>Define    Costedit    8000
  730.  
  731. @Outline2@<:#284,10800>Define    Salvageedit    8001
  732.  
  733. @Outline2@<:#284,10800>Define    Lifeedit    8002
  734.  
  735. @Outline2@<:#284,10800>Define    Periodedit    8003
  736.  
  737. @Outline2@<:#284,10800>Define    Allowancetext    1007
  738.  
  739. @Outline2@<:#284,10800>
  740.  
  741. @Outline2@<:#284,10800>Define    Reporttext    "Press the report button to generate a full depreciation schedule."
  742.  
  743. @Outline2@<:#568,10800>Define    Desc        "Enter values to either calculate a depreciation allowance for a particular period or generate a full depreciation schedule."
  744.  
  745. @Outline2@<:#284,10800>
  746.  
  747. @Outline2@<:#284,10800>Define    ErrorMessage        "Ltsce01.dll was not loaded."
  748.  
  749. @Outline2@<:#284,10800>
  750.  
  751. <:#284,10800>Define    GetPrefix()    GetGlobalVar$("Prefix")
  752.  
  753. <:#284,10800>Define    GetSuffix()    GetGlobalVar$("Suffix")
  754.  
  755. <:#284,10800>
  756.  
  757. @Outline2@<:#284,10800>
  758.  
  759. @Outline2@<:#284,10800>' Types of methods
  760.  
  761. @Outline2@<:#284,10800>Define    Method_DDB    "Double-Declining Balance"
  762.  
  763. @Outline2@<:#284,10800>Define    Method_SUM    "Sum-of-Years' Digits"
  764.  
  765. @Outline2@<:#284,10800>Define    Method_Line    "Straight-Line"
  766.  
  767. @Outline2@<:#284,10800>
  768.  
  769. @Outline2@<:#284,10800>Define    NumDecimals    2
  770.  
  771. @Outline2@<:#284,10800>
  772.  
  773. <:#284,10800>Declare     StartEngine()
  774.  
  775. <:#284,10800>Declare    CreateReport(ReportType, Cost, Salvage, Life, Period)
  776.  
  777. <:#284,10800>Declare    FontDlg(Action, Hdlg, id)
  778.  
  779. <:#284,10800>Declare    BuildTable(Life)
  780.  
  781. <:#284,10800>Declare    GetFormats(Action)
  782.  
  783. <:#284,10800>
  784.  
  785. <:#284,10800>
  786.  
  787. <:#284,10800>
  788.  
  789. @Subhead@<:#284,10800>Function Depreciate()
  790.  
  791. <:#284,10800>DefStr hInstance;
  792.  
  793. <:#284,10800>Mac = GetRunningMacroFile$()
  794.  
  795. <:#284,10800>Id = StartEngine()
  796.  
  797. <:#284,10800>If Id = 0
  798.  
  799. <:#284,10800>    Message(ErrorMessage)
  800.  
  801. <:#284,10800>    Return 0;
  802.  
  803. <:#284,10800>Endif
  804.  
  805. <:#284,10800>RetVal = CECREATEINSTANCE(&hInstance)
  806.  
  807. <:#284,10800>AllocGlobalVar("hInstance",1)
  808.  
  809. <:#284,10800>SetGlobalVar("hInstance",hInstance)
  810.  
  811. <:#284,10800>FontDlg(1,0,0)
  812.  
  813. <:#284,10800>GetFormats(1)        ' retrieve the international settings
  814.  
  815. <:#284,10800>Dim Method(3)
  816.  
  817. <:#284,10800>Method(1) = Method_DDB
  818.  
  819. <:#284,10800>Method(2) = Method_SUM
  820.  
  821. <:#284,10800>Method(3) = Method_Line
  822.  
  823. <:#284,10800>
  824.  
  825. <:#284,10800>FillEdit(1007, Desc)
  826.  
  827. <:#284,10800>FillEdit(1000,Reporttext)
  828.  
  829. <:#284,10800>FillEdit(Methodcombo, &Method)
  830.  
  831. <:#284,10800>SetDlgCallBack(0,"{Mac}!InitDlg")
  832.  
  833. <:#284,10800>SetDlgCallBack(Methodcombo,"{Mac}!DataChange")
  834.  
  835. <:#284,10800>SetDlgCallBack(Costedit,"{Mac}!DataChange")
  836.  
  837. <:#284,10800>SetDlgCallBack(Salvageedit,"{Mac}!DataChange")
  838.  
  839. <:#284,10800>SetDlgCallBack(Lifeedit,"{Mac}!DataChange")
  840.  
  841. <:#284,10800>SetDlgCallBack(Periodedit,"{Mac}!DataChange")
  842.  
  843. @Outline3@DlgKeyInterrupt(112, "{mac}!DisplayHelp")
  844.  
  845. @Outline3@
  846. 'DlgKeyInterrupt(<[>Tab],"{Mac}!DataChange")
  847.  
  848. <:#284,10800>
  849.  
  850. <:#284,10800>Box = DialogBox(".","Deprec")
  851.  
  852. <:#284,10800>If Box <<<;> 3
  853.  
  854. <:#284,10800>    Return -1
  855.  
  856. <:#284,10800>Endif
  857.  
  858. <:#284,10800>FontDlg(4,0,0)
  859.  
  860. <:#284,10800>ReportType = GetDialogField$(Methodcombo)
  861.  
  862. <:#284,10800>Cost = GetDialogField$(Costedit) * 1
  863.  
  864. <:#284,10800>Salvage = GetDialogField$(Salvageedit) * 1
  865.  
  866. <:#284,10800>Life = GetDialogField$(Lifeedit) * 1
  867.  
  868. <:#284,10800>Period = GetDialogField$(Periodedit) * 1
  869.  
  870. <:#284,10800>CreateReport(ReportType, Cost, Salvage, Life, Period)
  871.  
  872. <:#284,10800>CEDestroyInstance(hInstance)
  873.  
  874. <:#284,10800>FreeGlobalVar("hInstance")
  875.  
  876. <:#284,10800>DllFreeLib(id)
  877.  
  878. <:#284,10800>GetFormats(0)
  879.  
  880. <:#284,10800>End function
  881.  
  882. <:#284,10800>
  883.  
  884. <:#284,10800>
  885.  
  886. <:#284,10800>
  887.  
  888. @Subhead@<:#284,10800>Function InitDlg(hDlg, id, value)
  889.  
  890. IgnoreKeyBoard(2)
  891.  
  892. HourGlass(on)
  893.  
  894. For id = 1000 to 1007
  895.  
  896. <:#284,10800>    FontDlg(3,Hdlg, id)
  897.  
  898. <:#284,10800>Next
  899.  
  900. <:#284,10800>FontDlg(3, Hdlg, 9500)
  901.  
  902. <:#284,10800>For h = 8000 to 8003
  903.  
  904. <:#284,10800>    FontDlg(3, Hdlg, h)
  905.  
  906. <:#284,10800>Next
  907.  
  908. <:#284,10800>EnableWindow(GetDlgItem(Hdlg, 3),0)
  909.  
  910. HourGlass(off)
  911.  
  912. End Function
  913.  
  914. <:#284,10800>
  915.  
  916. <:#284,10800>
  917.  
  918. <:#284,10800>
  919.  
  920. @Subhead@<:#284,10800>Function DataChange(Hdlg, id, value)
  921.  
  922. <:#284,10800>IgnoreKeyBoard(2)
  923.  
  924. <:#284,10800>DefStr Allowance;
  925.  
  926. <:#284,10800>hInstance = GetGlobalVar$("hInstance")
  927.  
  928. <:#284,10800>Cost = GetDlgITemText(Hdlg, Costedit) * 1
  929.  
  930. <:#284,10800>Salvage = GetDlgItemText(hDlg, Salvageedit) * 1
  931.  
  932. <:#284,10800>Life = GetDlgItemText(hDlg, Lifeedit) * 1
  933.  
  934. <:#284,10800>Period = GetDlgItemText(hDlg, Periodedit) * 1
  935.  
  936. <:#284,10800>
  937.  
  938. <:#284,10800>TypeMethod = GetDlgItemText(hDlg, Methodcombo)
  939.  
  940. <:#284,10800>Switch TypeMethod
  941.  
  942. <:#284,10800>    Case Method_DDB
  943.  
  944. <:#284,10800>        CECalcNow(hInstance,"@DDB({Cost},{Salvage},{Life},{Period})",&Allowance)
  945.  
  946. <:#284,10800>        Break;
  947.  
  948. <:#284,10800>
  949.  
  950. <:#284,10800>    Case Method_SUM
  951.  
  952. <:#284,10800>        CECalcNow(hInstance,"@SYD({Cost},{Salvage},{Life},{Period})",&Allowance)
  953.  
  954. <:#284,10800>        Break;
  955.  
  956. <:#284,10800>    
  957.  
  958. <:#284,10800>    Case Method_LINE
  959.  
  960. <:#284,10800>        CECalcNow(hInstance,"@SLN({Cost},{Salvage},{Life})",&Allowance)
  961.  
  962. <:#284,10800>        Break;
  963.  
  964. <:#284,10800>
  965.  
  966. <:#284,10800>    Default
  967.  
  968. <:#284,10800>        Break;
  969.  
  970. <:#284,10800>EndSwitch
  971.  
  972. <:#284,10800>If 0 = Instr(0,Allowance,"ERR")
  973.  
  974. <:#284,10800>    EnableWindow(GetDlgItem(hdlg, 3),1)
  975.  
  976. <:#284,10800>Else
  977.  
  978. <:#284,10800>    EnableWindow(GetDlgItem(hDlg, 3),0)
  979.  
  980. <:#284,10800>Endif
  981.  
  982. <:#284,10800>SetDlgItemText(hDlg, 1008, FormatNum$(GetPrefix(),GetSuffix(),NumDecimals,Allowance))
  983.  
  984. <:#284,10800>End Function
  985.  
  986. <:#284,10800>
  987.  
  988. @Subhead@<:#284,10800>Function CreateReport(ReportType, Cost, Salvage, Life, Period)
  989.  
  990. <:#284,10800>DefStr Allowance;
  991.  
  992. <:#284,10800>Switch ReportType
  993.  
  994. <:#284,10800>    Case Method_DDB
  995.  
  996. <:#284,10800>        Formula = "@DDB"
  997.  
  998. <:#284,10800>        Break;
  999.  
  1000. <:#284,10800>    Case Method_Sum
  1001.  
  1002. <:#284,10800>        Formula = "@SYD"
  1003.  
  1004. <:#284,10800>        Break;
  1005.  
  1006. <:#284,10800>    Case Method_Line
  1007.  
  1008. <:#284,10800>        Formula = "@SLN"
  1009.  
  1010. <:#284,10800>        Break;
  1011.  
  1012. <:#284,10800>    Default
  1013.  
  1014. <:#284,10800>        Formula = "@DDB"
  1015.  
  1016. <:#284,10800>        Break;
  1017.  
  1018. <:#284,10800>EndSwitch
  1019.  
  1020. <:#284,10800>
  1021.  
  1022. <:#284,10800>BuildTable(Life)
  1023.  
  1024. <:#284,10800>hInstance = GetGlobalVar$("hInstance")
  1025.  
  1026. <:#284,10800>For Period = 1 to Life
  1027.  
  1028. <:#284,10800>    If Formula = "@SLN"
  1029.  
  1030. <:#284,10800>        CECalcNow(hInstance,"{Formula}({Cost},{Salvage},{Life})",&Allowance)
  1031.  
  1032. <:#284,10800>    Else
  1033.  
  1034. <:#284,10800>        CECalcNow(hInstance,"{Formula}({Cost},{Salvage},{Life},{Period})",&Allowance)
  1035.  
  1036. <:#284,10800>    Endif
  1037.  
  1038. <:#284,10800>    Type ("{Period}<[>Tab]{Allowance}<[>Tab]")
  1039.  
  1040. <:#284,10800>    TotalDeprec = TotalDeprec + Allowance
  1041.  
  1042. <:#284,10800>    CurrentValue = Cost - TotalDeprec
  1043.  
  1044. <:#284,10800>    Type("{CurrentValue}<[>Tab]")
  1045.  
  1046. <:#284,10800>Next
  1047.  
  1048. <:#284,10800>
  1049.  
  1050. <:#284,10800>End Function
  1051.  
  1052. <:#284,10800>
  1053.  
  1054. <:#284,10800>
  1055.  
  1056. <:#284,10800>
  1057.  
  1058. @Subhead@<:#284,10800>Function BuildTable(Life)
  1059.  
  1060. <:#284,10800>New("_default.sty"  1 0  )
  1061.  
  1062. <:#284,10800>TotalRow = Life + 3
  1063.  
  1064. <:#284,10800>Tables(1 1 3 TotalRow  )
  1065.  
  1066. <:#284,10800>SetStyle("Title"   )
  1067.  
  1068. <:#284,10800>ModifySelect("Title"   )
  1069.  
  1070. <:#284,10800>ModifyFont("Arial"  280 0 8197  )
  1071.  
  1072. <:#284,10800>ModifyReflow( )
  1073.  
  1074. <:#284,10800>Type( "<[>SHIFTRight]<[>SHIFTRight]" )
  1075.  
  1076. <:#284,10800>SizeColumnRow(1944 -32768 -32768 -32768  )
  1077.  
  1078. <:#284,10800>ConnectCells( )
  1079.  
  1080. <:#284,10800>Type( "Depreciation Schedule" )
  1081.  
  1082. <:#284,10800>TableLines(96 31 0 1 16250871  )
  1083.  
  1084. <:#284,10800>TableLayout(2 1 3024 86 284 86 1 0 1 0 0 0  )
  1085.  
  1086. <:#284,10800>Type( "<[>Tab]Period<[>Tab]Depreciation<[>Tab]Net Book Value<[>Tab]" )
  1087.  
  1088. <:#284,10800>End Function
  1089.  
  1090. <:#284,10800>
  1091.  
  1092. @Subhead@<:#284,10800>function DisplayHelp()
  1093.  
  1094. @Outline2@<:#284,10800>' two defines needed for help.  The help name and panel number are defined above
  1095.  
  1096. @Outline2@<:#284,10800>define FindWindowa() DllCall("user,FindWindow,HCC", %1, %2)
  1097.  
  1098. @Outline2@<:#284,10800>define WinHelpa(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  1099.  
  1100. @Outline2@<:#284,10800>prohWnd = FindWindowa("AmiProWndA", 0)
  1101.  
  1102. @Outline2@<:#284,10800>helpfile = strcat$(GetAmiDirectory$(), "HelpPack.hlp")
  1103.  
  1104. @Outline2@<:#284,10800>PanelNum= 50 
  1105.  
  1106. @Outline2@<:#284,10800>WinHelpa(prohWnd, helpfile, 0x0001, Panelnum)
  1107.  
  1108. @Outline2@<:#284,10800>end function
  1109.  
  1110. @Subhead@<:#284,10800>
  1111.  
  1112. <:#284,10800>
  1113.  
  1114. <:#284,10800>
  1115.  
  1116. <:#284,10800>
  1117.  
  1118. <:#284,10800>
  1119.  
  1120. @Subhead@<:#284,10800>Function FontDlg(Action, Hdlg, id)
  1121.  
  1122. <:#284,10800>' 1    Create a font and allocvar
  1123.  
  1124. <:#284,10800>' 2    Return the handle of the create font 
  1125.  
  1126. <:#284,10800>' 3    Set the id specified to the font
  1127.  
  1128. <:#284,10800>' 4    Freeglobalvar and delete created object
  1129.  
  1130. <:#284,10800>
  1131.  
  1132. @Outline2@<:#568,10800>define    CreateFontDLG()        DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
  1133.  
  1134. @Outline2@<:#284,10800>define    DeleteObjectDLG(handle)    DllCall("gdi,DeleteObject,HH", %1)
  1135.  
  1136. @Outline2@<:#568,10800>define    SendMessageDLG(hwnd, msg, wpara, lparm)    DllCall("user,SendMessage,HHHHJ", %1, %2, %3, %4)
  1137.  
  1138. @Outline2@<:#284,10800>
  1139.  
  1140. @Outline2@<:#284,10800>
  1141.  
  1142. <:#284,10800>Switch Action
  1143.  
  1144. <:#284,10800>    Case 1    ' Create the font and store it
  1145.  
  1146. @Outline2@<:#284,10800>        Font = CreateFontDLG(13, 0, 0, 0, 400, 0, 0, 0, 0, 0, 0, 0, 32, "Helv")
  1147.  
  1148. <:#284,10800>        AllocGlobalVar("FontHandle",1)
  1149.  
  1150. <:#284,10800>        If Font
  1151.  
  1152. <:#284,10800>            SetGlobalVar("FontHandle",Font)
  1153.  
  1154. <:#284,10800>            Return Font
  1155.  
  1156. <:#284,10800>        Else
  1157.  
  1158. <:#284,10800>            Return 0;    ' no font
  1159.  
  1160. <:#284,10800>        Endif
  1161.  
  1162. <:#284,10800>        Break;
  1163.  
  1164. <:#284,10800>    Case 2    ' Return the handle to the font
  1165.  
  1166. <:#284,10800>        Handle = GetGlobalVar$("FontHandle")
  1167.  
  1168. <:#284,10800>        If Handle 
  1169.  
  1170. <:#284,10800>            Return Handle
  1171.  
  1172. <:#284,10800>        Else
  1173.  
  1174. <:#284,10800>            Return 0
  1175.  
  1176. <:#284,10800>        Endif
  1177.  
  1178. <:#284,10800>
  1179.  
  1180. <:#284,10800>    Case 3    ' Set the id to the font
  1181.  
  1182. <:#284,10800>        Handle = GetGlobalVar$("FontHandle")
  1183.  
  1184. <:#284,10800>        If Handle 
  1185.  
  1186. <:#284,10800>            IdControl = GetDlgITem(Hdlg, id)
  1187.  
  1188. <:#284,10800>            SendMessageDlg(idControl, 0x30, Handle, 0)
  1189.  
  1190. <:#284,10800>            Return 1
  1191.  
  1192. <:#284,10800>        Else
  1193.  
  1194. <:#284,10800>            Return 0
  1195.  
  1196. <:#284,10800>        Endif
  1197.  
  1198. <:#284,10800>        Break;        
  1199.  
  1200. <:#284,10800>        
  1201.  
  1202. <:#284,10800>    Case 4    ' Delete the font and clear the var
  1203.  
  1204. <:#284,10800>        Handle = GetGlobalVar$("FontHandle")
  1205.  
  1206. <:#284,10800>        If Handle
  1207.  
  1208. <:#284,10800>            DeleteObjectDLG(Handle)
  1209.  
  1210. <:#284,10800>            Stat = 1    
  1211.  
  1212. <:#284,10800>        Else
  1213.  
  1214. <:#284,10800>            Stat = 0
  1215.  
  1216. <:#284,10800>        Endif
  1217.  
  1218. <:#284,10800>        FreeGlobalVar("FontHandle")
  1219.  
  1220. <:#284,10800>        Return Stat        
  1221.  
  1222. <:#284,10800>    Default
  1223.  
  1224. <:#284,10800>        Message("Fontdlg received an invalid parameter {Action}")
  1225.  
  1226. <:#284,10800>EndSwitch    
  1227.  
  1228. <:#284,10800>
  1229.  
  1230. <:#284,10800>End Function
  1231.  
  1232. @Subhead@<:#284,10800>
  1233.  
  1234. @Subhead@<:#284,10800><:f,BArial,>Function GetFormats<:f><:f,BArial,>(Action)
  1235.  
  1236. <:#284,10800><:f,BArial,>iCurrency = GetProfileString$("Intl","iCurrency","Win.ini")
  1237.  
  1238. <:#284,10800>currency = GetProfileString$("Intl","sCurrency","Win.ini")
  1239.  
  1240. <:#284,10800><:f,BArial,>AllocGlobalVar("Prefix",1)
  1241.  
  1242. <:#284,10800><:f,BArial,>AllocGlobalVar("Suffix",1)<:f>
  1243.  
  1244. <:#284,10800><:f,BArial,>
  1245.  
  1246. <:#284,10800><:f,BArial,>Switch Action
  1247.  
  1248. <:#284,10800><:f,BArial,>    Case 1     ' turn this on
  1249.  
  1250. <:#284,10800><:f,BArial,>        Switch iCurrency
  1251.  
  1252. <:#284,10800><:f,BArial,>            Case 0
  1253.  
  1254. <:#284,10800><:f,BArial,>                Prefix = Currency<:f>
  1255.  
  1256. <:#284,10800><:f,BArial,>                Suffix = ""
  1257.  
  1258. <:#284,10800><:f,BArial,>            Case 1
  1259.  
  1260. <:#284,10800><:f,BArial,>                Prefix = ""
  1261.  
  1262. <:#284,10800><:f,BArial,>                Suffix = Currency<:f>
  1263.  
  1264. <:#284,10800><:f,BArial,>            Case 2
  1265.  
  1266. <:#284,10800><:f,BArial,>                Prefix = StrCat$(Currency," ")
  1267.  
  1268. <:#284,10800><:f,BArial,>                Suffix = ""
  1269.  
  1270. <:#289,10800>        <:f,BArial,>    Case 3
  1271.  
  1272. <:#284,10800><:f,BArial,>                Prefix = ""
  1273.  
  1274. <:#284,10800><:f,BArial,>                Suffix = StrCat$(" ",Currency)
  1275.  
  1276. <:#284,10800><:f,BArial,>        endSwitch
  1277.  
  1278. <:#284,10800><:f,BArial,>        SetGlobalVar("Suffix",Suffix)
  1279.  
  1280. <:#284,10800><:f,BArial,>        SetGlobalVar("Prefix",Prefix)
  1281.  
  1282. <:#284,10800><:f,BArial,>
  1283.  
  1284. <:#284,10800><:f,BArial,>    Case 0    ' free globals
  1285.  
  1286. <:#284,10800><:f,BArial,>        FreeGlobalVar("Suffix")
  1287.  
  1288. <:#284,10800><:f,BArial,>        FreeGlobalVar("Prefix")
  1289.  
  1290. <:#284,10800><:f,BArial,>        
  1291.  
  1292. <:#284,10800><:f,BArial,>EndSwitch
  1293.  
  1294. <:#284,10800><:f,BArial,>End Function
  1295.  
  1296. <:#284,10800>
  1297.  
  1298. <:#284,10800>
  1299.  
  1300. @Subhead@<:#284,10800><:f,BArial,>
  1301.  
  1302. <:#284,10800>
  1303.  
  1304. <:#284,10800>
  1305.  
  1306. <:#284,10800>
  1307.  
  1308. <:#284,10800>
  1309.  
  1310. <:#284,10800>
  1311.  
  1312. <:#284,10800>
  1313.  
  1314. @Subhead@<:#284,10800>Function StartEngine()
  1315.  
  1316. <:#284,10800>LibId = DLLLoadLib("LTSCE01.DLL","CECreateInstance","HO")
  1317.  
  1318. <:#284,10800>If LibId = 0
  1319.  
  1320. <:#284,10800>    Message("LTSCE01.DLL not found.  Copy the dll to your windows directory")
  1321.  
  1322. <:#284,10800>    Return 0;
  1323.  
  1324. <:#284,10800>Endif
  1325.  
  1326. <:#284,10800>Return Libid
  1327.  
  1328. <:#284,10800>End function
  1329.  
  1330. <:#284,10800>
  1331.  
  1332. <:#284,10800>
  1333.  
  1334. <:#284,10800>
  1335.  
  1336. <:#284,10800>
  1337.  
  1338. <:#284,10800>
  1339.  
  1340. <:#284,10800>
  1341.  
  1342. DIALOG    Deprec
  1343.  
  1344. -2134376448    17    31    43    246    103    ""    "AmiDialog"    "QuickDepreciation"
  1345.  
  1346. FONT    8    "Helv"
  1347.  
  1348. 122    20    42    12    8000    1350631424    "edit"    ""    0 
  1349.  
  1350. 122    35    42    12    8001    1350631424    "edit"    ""    0 
  1351.  
  1352. 122    50    42    12    8002    1350631424    "edit"    ""    0 
  1353.  
  1354. 122    65    42    12    8003    1350631424    "edit"    ""    0 
  1355.  
  1356. 80    84    86    40    9500    1344339971    "combobox"    ""    0 
  1357.  
  1358. 200    4    40    14    1    1342373889    "button"    "Done"    0 
  1359.  
  1360. 200    21    40    14    3    1342373888    "button"    "Report"    0 
  1361.  
  1362. 172    38    71    29    1000    1342177280    "static"    "text"    0 
  1363.  
  1364. 11    22    89    8    1001    1342177280    "static"    "Amount paid for the asset:"    0 
  1365.  
  1366. 11    37    105    9    1002    1342177280    "static"    "Estimated asset salvage value:"    0 
  1367.  
  1368. 11    52    106    8    1003    1342177280    "static"    "Total number of periods (life):"    0 
  1369.  
  1370. 11    67    103    9    1004    1342177280    "static"    "Period to calculate allowance:"    0 
  1371.  
  1372. 11    86    64    8    1005    1342177280    "static"    "Depreciation method:"    0 
  1373.  
  1374. 177    72    60    10    1006    1342177280    "static"    "Allowance for period:"    0 
  1375.  
  1376. 179    82    55    10    1008    1342177281    "static"    ""    0 
  1377.  
  1378. 172    64    69    33    20    1342308359    "button"    ""    0 
  1379.  
  1380. 6    2    170    16    1007    1342177280    "static"    "text"    0 
  1381.  
  1382. END DIALOG
  1383.  
  1384. >
  1385.  
  1386. [Embedded]
  1387. 00019328
  1388. >
  1389. [macsum] 10
  1390. Depreciate 0 0 12 46
  1391. InitDlg 1197 3 2 96
  1392. DataChange 1587 3 8 112
  1393. CreateReport 2524 5 6 146
  1394. BuildTable 3253 1 2 181
  1395. DisplayHelp 3633 0 4 198
  1396. FontDlg 3818 3 5 212
  1397. GetFormats 4664 1 5 269
  1398. StartEngine 5233 0 2 309
  1399. Deprec 5438 0 -1 323
  1400. [macse]
  1401. 14 Depreciate
  1402. 0 802
  1403. 13
  1404. 8 2
  1405. 16 StartEngine
  1406. 13
  1407. 8 3
  1408. 6 3
  1409. 5 0
  1410. 18 0
  1411. 11 00000132
  1412. 0 3 "Ltsce01.dll was not loaded."
  1413. 5 0
  1414. 15
  1415. 9
  1416. 0 284 "LTSCE01.DLL,CECREATEINSTANCE,HO" &1
  1417. 13
  1418. 8 4
  1419. 0 271 "hInstance" 1
  1420. 0 264 "hInstance" "{1}"
  1421. 16 FontDlg 1 0 0
  1422. 16 GetFormats 1
  1423. 5 3
  1424. 21 5 [X]
  1425. 5 1
  1426. 7 "Double-Declining Balance"
  1427. 23 5
  1428. 5 2
  1429. 7 "Sum-of-Years' Digits"
  1430. 23 5
  1431. 5 3
  1432. 7 "Straight-Line"
  1433. 23 5
  1434. 0 31 1007 "Enter values to either calculate a depreciation allowance for a particular period or generate a full depreciation schedule."
  1435. 0 31 1000 "Press the report button to generate a full depreciation schedule."
  1436. 0 31 9500 &5
  1437. 0 41 0 "{2}!InitDlg"
  1438. 0 41 9500 "{2}!DataChange"
  1439. 0 41 8000 "{2}!DataChange"
  1440. 0 41 8001 "{2}!DataChange"
  1441. 0 41 8002 "{2}!DataChange"
  1442. 0 41 8003 "{2}!DataChange"
  1443. 0 47 112 "{2}!DisplayHelp"
  1444. 0 26 "." "Deprec"
  1445. 13
  1446. 8 6
  1447. 6 6
  1448. 5 3
  1449. 18 1
  1450. 11 00000879
  1451. 5 -1
  1452. 15
  1453. 9
  1454. 16 FontDlg 4 0 0
  1455. 0 27 9500
  1456. 13
  1457. 8 7
  1458. 0 27 8000
  1459. 13
  1460. 5 1
  1461. 4 0
  1462. 8 8
  1463. 0 27 8001
  1464. 13
  1465. 5 1
  1466. 4 0
  1467. 8 9
  1468. 0 27 8002
  1469. 13
  1470. 5 1
  1471. 4 0
  1472. 8 10
  1473. 0 27 8003
  1474. 13
  1475. 5 1
  1476. 4 0
  1477. 8 11
  1478. 16 CreateReport "{7}" "{8}" "{9}" "{10}" "{11}"
  1479. 0 284 "LTSCE01.DLL,CEDESTROYINSTANCE,HH" "{1}"
  1480. 0 266 "hInstance"
  1481. 0 298 "{3}"
  1482. 16 GetFormats 0
  1483. 6 0
  1484. 15
  1485. 9
  1486. 14 InitDlg
  1487. 0 32 2
  1488. 0 296 1
  1489. 5 1000
  1490. 8 1
  1491. 5 1007
  1492. 6 1
  1493. 18 2
  1494. 12 00000120
  1495. 10 00000159
  1496. 5 1
  1497. 6 1
  1498. 3 0
  1499. 8 1
  1500. 10 00000042
  1501. 16 FontDlg 3 "{0}" "{1}"
  1502. 10 00000087
  1503. 16 FontDlg 3 "{0}" 9500
  1504. 5 8000
  1505. 8 4
  1506. 5 8003
  1507. 6 4
  1508. 18 2
  1509. 12 00000275
  1510. 10 00000314
  1511. 5 1
  1512. 6 4
  1513. 3 0
  1514. 8 4
  1515. 10 00000197
  1516. 16 FontDlg 3 "{0}" "{4}"
  1517. 10 00000242
  1518. 0 44 "{0}" 3
  1519. 13
  1520. 0 284 "User,EnableWindow,AHA" [X] 0
  1521. 0 296 0
  1522. 6 3
  1523. 15
  1524. 9
  1525. 14 DataChange
  1526. 0 32 2
  1527. 0 265 "hInstance"
  1528. 13
  1529. 8 5
  1530. 0 42 "{0}" 8000
  1531. 13
  1532. 5 1
  1533. 4 0
  1534. 8 6
  1535. 0 42 "{0}" 8001
  1536. 13
  1537. 5 1
  1538. 4 0
  1539. 8 7
  1540. 0 42 "{0}" 8002
  1541. 13
  1542. 5 1
  1543. 4 0
  1544. 8 8
  1545. 0 42 "{0}" 8003
  1546. 13
  1547. 5 1
  1548. 4 0
  1549. 8 9
  1550. 0 42 "{0}" 9500
  1551. 13
  1552. 8 10
  1553. 7 "Double-Declining Balance"
  1554. 6 10
  1555. 18 0
  1556. 11 00000372
  1557. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{5}" "@DDB({6},{7},{8},{9})" &4
  1558. 10 00000666
  1559. 10 00000666
  1560. 7 "Sum-of-Years' Digits"
  1561. 6 10
  1562. 18 0
  1563. 11 00000518
  1564. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{5}" "@SYD({6},{7},{8},{9})" &4
  1565. 10 00000666
  1566. 10 00000666
  1567. 7 "Straight-Line"
  1568. 6 10
  1569. 18 0
  1570. 11 00000653
  1571. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{5}" "@SLN({6},{7},{8})" &4
  1572. 10 00000666
  1573. 10 00000666
  1574. 10 00000666
  1575. 5 0
  1576. 0 808 0 "{4}" "ERR"
  1577. 13
  1578. 18 0
  1579. 11 00000783
  1580. 0 44 "{0}" 3
  1581. 13
  1582. 0 284 "User,EnableWindow,AHA" [X] 1
  1583. 10 00000838
  1584. 0 44 "{0}" 3
  1585. 13
  1586. 0 284 "User,EnableWindow,AHA" [X] 0
  1587. 0 265 "Prefix"
  1588. 13
  1589. 0 265 "Suffix"
  1590. 13
  1591. 0 19 [X] [X] 2 "{4}"
  1592. 13
  1593. 0 43 "{0}" 1008 [X]
  1594. 6 3
  1595. 15
  1596. 9
  1597. 14 CreateReport
  1598. 7 "Double-Declining Balance"
  1599. 6 0
  1600. 18 0
  1601. 11 00000112
  1602. 7 "@DDB"
  1603. 8 7
  1604. 10 00000315
  1605. 10 00000315
  1606. 7 "Sum-of-Years' Digits"
  1607. 6 0
  1608. 18 0
  1609. 11 00000203
  1610. 7 "@SYD"
  1611. 8 7
  1612. 10 00000315
  1613. 10 00000315
  1614. 7 "Straight-Line"
  1615. 6 0
  1616. 18 0
  1617. 11 00000287
  1618. 7 "@SLN"
  1619. 8 7
  1620. 10 00000315
  1621. 10 00000315
  1622. 7 "@DDB"
  1623. 8 7
  1624. 10 00000315
  1625. 16 BuildTable "{3}"
  1626. 0 265 "hInstance"
  1627. 13
  1628. 8 8
  1629. 5 1
  1630. 8 4
  1631. 6 3
  1632. 6 4
  1633. 18 2
  1634. 12 00000449
  1635. 10 00000717
  1636. 5 1
  1637. 6 4
  1638. 3 0
  1639. 8 4
  1640. 10 00000374
  1641. 6 7
  1642. 7 "@SLN"
  1643. 18 0
  1644. 11 00000560
  1645. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{8}" "{7}({1},{2},{3})" &6
  1646. 10 00000628
  1647. 0 284 "LTSCE01.DLL,CECALCNOW,HHCC" "{8}" "{7}({1},{2},{3},{4})" &6
  1648. 0 6 "{4}[9]{6}[9]"
  1649. 6 9
  1650. 6 6
  1651. 3 0
  1652. 8 9
  1653. 6 1
  1654. 6 9
  1655. 3 1
  1656. 8 10
  1657. 0 6 "{10}[9]"
  1658. 10 00000416
  1659. 6 5
  1660. 15
  1661. 9
  1662. 14 BuildTable
  1663. 2 101 1 "_default.sty" 1 0
  1664. 6 0
  1665. 5 3
  1666. 3 0
  1667. 8 2
  1668. 2 457 1 1 1 3 "{2}"
  1669. 2 323 1 "Title"
  1670. 2 311 1 "Title"
  1671. 2 315 1 "Arial" 280 0 8197
  1672. 2 319 1
  1673. 0 6 "[4135][4135]"
  1674. 2 634 1 1944 -32768 -32768 -32768
  1675. 2 635 1
  1676. 0 6 "Depreciation Schedule"
  1677. 2 632 1 96 31 0 1 16250871
  1678. 2 626 1 2 1 3024 86 284 86 1 0 1 0 0 0
  1679. 0 6 "[9]Period[9]Depreciation[9]Net Book Value[9]"
  1680. 6 1
  1681. 15
  1682. 9
  1683. 14 DisplayHelp
  1684. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1685. 13
  1686. 8 1
  1687. 0 798
  1688. 13
  1689. 0 16 [X] "HelpPack.hlp"
  1690. 13
  1691. 8 2
  1692. 5 50
  1693. 8 3
  1694. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 "{3}"
  1695. 6 0
  1696. 15
  1697. 9
  1698. 14 FontDlg
  1699. 5 1
  1700. 6 0
  1701. 18 0
  1702. 11 00000255
  1703. 0 284 "gdi,CreateFont,HHHHHHHHHHHHHHC" 13 0 0 0 400 0 0 0 0 0 0 0 0 "Helv"
  1704. 13
  1705. 8 4
  1706. 0 271 "FontHandle" 1
  1707. 6 4
  1708. 11 00000217
  1709. 0 264 "FontHandle" "{4}"
  1710. 6 4
  1711. 15
  1712. 9
  1713. 10 00000229
  1714. 5 0
  1715. 15
  1716. 9
  1717. 10 00000834
  1718. 10 00000834
  1719. 5 2
  1720. 6 0
  1721. 18 0
  1722. 11 00000381
  1723. 0 265 "FontHandle"
  1724. 13
  1725. 8 5
  1726. 6 5
  1727. 11 00000356
  1728. 6 5
  1729. 15
  1730. 9
  1731. 10 00000368
  1732. 5 0
  1733. 15
  1734. 9
  1735. 10 00000834
  1736. 5 3
  1737. 6 0
  1738. 18 0
  1739. 11 00000596
  1740. 0 265 "FontHandle"
  1741. 13
  1742. 8 5
  1743. 6 5
  1744. 11 00000558
  1745. 0 44 "{1}" "{2}"
  1746. 13
  1747. 8 6
  1748. 0 284 "user,SendMessage,HHHHJ" "{6}" 48 "{5}" 0
  1749. 5 1
  1750. 15
  1751. 9
  1752. 10 00000570
  1753. 5 0
  1754. 15
  1755. 9
  1756. 10 00000834
  1757. 10 00000834
  1758. 5 4
  1759. 6 0
  1760. 18 0
  1761. 11 00000785
  1762. 0 265 "FontHandle"
  1763. 13
  1764. 8 5
  1765. 6 5
  1766. 11 00000730
  1767. 0 284 "gdi,DeleteObject,HH" "{5}"
  1768. 5 1
  1769. 8 7
  1770. 10 00000740
  1771. 5 0
  1772. 8 7
  1773. 0 266 "FontHandle"
  1774. 6 7
  1775. 15
  1776. 9
  1777. 10 00000834
  1778. 0 3 "Fontdlg received an invalid parameter {0}"
  1779. 6 3
  1780. 15
  1781. 9
  1782. 14 GetFormats
  1783. 0 286 "Intl" "iCurrency" "Win.ini"
  1784. 13
  1785. 8 2
  1786. 0 286 "Intl" "sCurrency" "Win.ini"
  1787. 13
  1788. 8 3
  1789. 0 271 "Prefix" 1
  1790. 0 271 "Suffix" 1
  1791. 5 1
  1792. 6 0
  1793. 18 0
  1794. 11 00000496
  1795. 5 0
  1796. 6 2
  1797. 18 0
  1798. 11 00000233
  1799. 6 3
  1800. 8 4
  1801. 7 ""
  1802. 8 5
  1803. 10 00000439
  1804. 5 1
  1805. 6 2
  1806. 18 0
  1807. 11 00000296
  1808. 7 ""
  1809. 8 4
  1810. 6 3
  1811. 8 5
  1812. 10 00000439
  1813. 5 2
  1814. 6 2
  1815. 18 0
  1816. 11 00000374
  1817. 0 16 "{3}" " "
  1818. 13
  1819. 8 4
  1820. 7 ""
  1821. 8 5
  1822. 10 00000439
  1823. 5 3
  1824. 6 2
  1825. 18 0
  1826. 11 00000439
  1827. 7 ""
  1828. 8 4
  1829. 0 16 " " "{3}"
  1830. 13
  1831. 8 5
  1832. 0 264 "Suffix" "{5}"
  1833. 0 264 "Prefix" "{4}"
  1834. 10 00000557
  1835. 5 0
  1836. 6 0
  1837. 18 0
  1838. 11 00000557
  1839. 0 266 "Suffix"
  1840. 0 266 "Prefix"
  1841. 6 1
  1842. 15
  1843. 9
  1844. 14 StartEngine
  1845. 0 297 "LTSCE01.DLL" "CECreateInstance" "HO"
  1846. 13
  1847. 8 1
  1848. 6 1
  1849. 5 0
  1850. 18 0
  1851. 11 00000181
  1852. 0 3 "LTSCE01.DLL not found.  Copy the dll to your windows directory"
  1853. 5 0
  1854. 15
  1855. 9
  1856. 6 1
  1857. 15
  1858. 9
  1859. 6 0
  1860. 15
  1861. 9
  1862. DIALOG Deprec
  1863. -2134376448 17 31 43 246 103 "" "AmiDialog" "QuickDepreciation" 
  1864. FONT 8 "Helv" 
  1865. 122 20 42 12 8000 1350631424 "edit" "" 0 
  1866. 122 35 42 12 8001 1350631424 "edit" "" 0 
  1867. 122 50 42 12 8002 1350631424 "edit" "" 0 
  1868. 122 65 42 12 8003 1350631424 "edit" "" 0 
  1869. 80 84 86 40 9500 1344339971 "combobox" "" 0 
  1870. 200 4 40 14 1 1342373889 "button" "Done" 0 
  1871. 200 21 40 14 3 1342373888 "button" "Report" 0 
  1872. 172 38 71 29 1000 1342177280 "static" "text" 0 
  1873. 11 22 89 8 1001 1342177280 "static" "Amount paid for the asset:" 0 
  1874. 11 37 105 9 1002 1342177280 "static" "Estimated asset salvage value:" 0 
  1875. 11 52 106 8 1003 1342177280 "static" "Total number of periods (life):" 0 
  1876. 11 67 103 9 1004 1342177280 "static" "Period to calculate allowance:" 0 
  1877. 11 86 64 8 1005 1342177280 "static" "Depreciation method:" 0 
  1878. 177 72 60 10 1006 1342177280 "static" "Allowance for period:" 0 
  1879. 179 82 55 10 1008 1342177281 "static" "" 0 
  1880. 172 64 69 33 20 1342308359 "button" "" 0 
  1881. 6 2 170 16 1007 1342177280 "static" "text" 0 
  1882. 00019353
  1883.